// Java Class Attributes
public class Sample23 {
  String fname = "John";
  String lname = "Doe";
  int age = 24;

  public static void main(String[] args) {
    Sample23 myObj1 = new Sample23(); // Object 1
    Sample23 myObj2 = new Sample23(); // Object 2
    System.out.println("Name: " + myObj1.fname + " " + myObj1.lname);
    System.out.println("Age: " + myObj1.age);

    myObj2.age = 25;
    System.out.println("Age: " + myObj2.age);

  }
}